#ifndef __${ip_name_upper}_H__
#define __${ip_name_upper}_H__

#include "system.h"
#include "alt_types.h"
#include "../HAL/${ip_name}_regs.h"

#ifdef __cplusplus
extern "C"
{
#endif

void ${ip_name}_demo();

#define ${ip_name_upper}_INSTANCE(name, dev)  alt_u32 ${ip_name}_controll_addr = name##_BASE
#define ${ip_name_upper}_INIT(name, dev) while(0)


#ifdef __cplusplus
}
#endif

#endif
